projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
710ed38
)
Small improvements for test/data/emacs-module/Makefile
author
Glenn Morris
<rgm@gnu.org>
Mon, 12 Jun 2017 20:35:39 +0000
(16:35 -0400)
committer
Glenn Morris
<rgm@gnu.org>
Mon, 12 Jun 2017 20:35:39 +0000
(16:35 -0400)
* test/data/emacs-module/Makefile.in (%.o):
Fix emacs-module dependency.
(SECONDARY): Stop make automatically deleting *.o.
(clean): New rule.
test/data/emacs-module/Makefile.in
patch
|
blob
|
history
diff --git
a/test/data/emacs-module/Makefile.in
b/test/data/emacs-module/Makefile.in
index c284256181ed312c5208a50a4e62c0fa43142e77..9963afd57361b1ecfc2ebebfb717125e63c65165 100644
(file)
--- a/
test/data/emacs-module/Makefile.in
+++ b/
test/data/emacs-module/Makefile.in
@@
-46,7
+46,13
@@
all: mod-test$(SO)
%$(SO): %.o
$(CC) -shared $(LDFLAGS) -o $@ $<
-%.o: %.c
+%.o: %.c
$(top_srcdir)/src/emacs-module.h
$(CC) $(CPPFLAGS) $(ALL_CFLAGS) -c -o $@ $<
-%.o: $(srcdir)/emacs-module.[ch]
+## Stop .o files being deleted.
+.SECONDARY:
+
+.PHONY: clean
+
+clean:
+ rm -f *.o *${SO}